<template>
  <div class="main-content">
    {{name}}
    <el-button @click="c1">点我</el-button>
  </div>
</template>

<script>

export default {
  name: '',
  data(){
    return {
      name: "MY NAME"
    }
  },
  methods: {
    c1(){
      alert("111")
    }
  }
}
</script>

<style lang="scss" scoped>
  .main-content {
    padding: 30px;
  }
</style>
